test() updated to be more intuitive and easy to test API
#5