change array syntax in tests and fixes cs in tests