add unit testing for astronomical units