Debugging and testing amuse