Added tests for queen and bishop and fixed some minor bugs