Added Logic Tests

Added Logic Tests