@emir-hasanbegovic made tests for types