add tests for sphere and use define()