Added relations tests;

Added where clause tests;