write test and make them pass