switched to expect testing framework