debugged dimension checking on properties and added unit test