fixed two deprecates and added a simple test