added .test for options
added hook for test