On Massera type converse theorems in terms of two different measures