implement tests with coffee
convert to coffee