Tests for buisness logic