brick tests fixed