Added tests for achievements controller